package com.gupao.agency;

import com.gupao.agency.ecuritiestrader.SecuritiesTrader;
import com.gupao.agency.investor.Investor;
import com.gupao.agency.investor.RichInvestor;

/**
 * 股票交易测试类
 * Created by ktyan on 2017/5/21.
 */
public class StockExchangeTest
{
    public static void main(String args[])
    {
        // 代理股票交易
        Investor investor = (Investor) new SecuritiesTrader().getInstance(new RichInvestor());
        investor.stockExchange();
    }
    
}
